runtime.mspan.allocCount (field)

30 uses

	runtime (current package)
		malloc.go#L860: 			s.allocCount++
		malloc.go#L882: 		if uintptr(s.allocCount) != s.nelems {
		malloc.go#L883: 			println("runtime: s.allocCount=", s.allocCount, "s.nelems=", s.nelems)
		malloc.go#L898: 	s.allocCount++
		malloc.go#L899: 	if uintptr(s.allocCount) > s.nelems {
		malloc.go#L900: 		println("s.allocCount=", s.allocCount, "s.nelems=", s.nelems)
		malloc.go#L1098: 		span.allocCount = 1
		mcache.go#L150: 	if uintptr(s.allocCount) != s.nelems {
		mcache.go#L167: 	if uintptr(s.allocCount) == s.nelems {
		mcache.go#L178: 	atomic.Xadduintptr(&stats.smallAllocCount[spc.sizeclass()], uintptr(s.nelems)-uintptr(s.allocCount))
		mcache.go#L190: 	usedBytes := uintptr(s.allocCount) * s.elemsize
		mcache.go#L244: 			n := uintptr(s.nelems) - uintptr(s.allocCount)
		mcentral.go#L174: 	n := int(s.nelems) - int(s.allocCount)
		mcentral.go#L175: 	if n == 0 || s.freeindex == s.nelems || uintptr(s.allocCount) == s.nelems {
		mcentral.go#L195: 	if s.allocCount == 0 {
		mcentral.go#L228: 		if int(s.nelems)-int(s.allocCount) > 0 {
		mgcsweep.go#L616: 	nfreed := s.allocCount - nalloc
		mgcsweep.go#L617: 	if nalloc > s.allocCount {
		mgcsweep.go#L620: 		print("runtime: nelems=", s.nelems, " nalloc=", nalloc, " previous allocCount=", s.allocCount, " nfreed=", nfreed, "\n")
		mgcsweep.go#L624: 	s.allocCount = nalloc
		mheap.go#L454: 	allocCount  uint16        // number of allocated objects
		mheap.go#L1468: 		if s.allocCount != 0 {
		mheap.go#L1472: 		if s.allocCount != 0 || s.sweepgen != h.sweepgen {
		mheap.go#L1473: 			print("mheap.freeSpanLocked - span ", s, " ptr ", hex(s.base()), " allocCount ", s.allocCount, " sweepgen ", s.sweepgen, "/", h.sweepgen, "\n")
		mheap.go#L1561: 	span.allocCount = 0
		stack.go#L209: 		if s.allocCount != 0 {
		stack.go#L229: 	s.allocCount++
		stack.go#L249: 	s.allocCount--
		stack.go#L250: 	if gcphase == _GCoff && s.allocCount == 0 {
		stack.go#L1223: 			if s.allocCount == 0 {